package com.daiyang.mybatisdome.mapper;

import com.daiyang.mybatisdome.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserInforXmlMapper {
    List<UserInfo> selectAll();

    List<UserInfo> queryUserInfo();

    Integer insertUserByCondition(UserInfo userInfo);

    Integer insertUser2(@Param("userInfo") UserInfo userInfo);

    Integer deleteUser(Integer id);

    Integer updateUser(UserInfo userInfo);

    Integer insertByCondition(UserInfo userInfo);

    Integer insertByCondition2(UserInfo userInfo);

    Integer insertByCondition3(UserInfo userInfo);
}
